# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        潘炎珍  
# Name:         demo10
# Description:
# Author:       98745
# Date:         2019/3/15
#-------------------------------------------------------------------------------

import pandas
s=pandas.DataFrame({
    'name':['li','liang'],
    'o':['china','japan'],
    'b':['1920','1879'],
    'd':['1987','1987'],
    'a':[37,62]
},columns=('o','b','d','a'),index=['li','liang'])
print(s)
age=s['a']
print(type(age))
print(age)
print('mean',':',age.mean())
print('min',':',age.min())
print('max',":",age.max())
print('std',':',age.std())
print('-----------')
print(age.sort_values(ascending=False))
print('--------------')
print(age.append(age))